package io.demo_7_lambda表达式;

public class Test2 {
    public static void main(String[] args) {
        Comparable<String>c=new Comparable<String>() {
            @Override
            public int compareTo(String o) {
                return o.hashCode();
            }
        };

        Comparable<String>c1=o-> o.hashCode();


    }
}
